import type { RouteRecordStringComponent } from '@vben/types';

import { requestClient } from '#/api/request';

/**
 * 获取用户所有路由
 */
export async function getAllRoutesApi() {
  return requestClient.get<RouteRecordStringComponent[]>('/route/async-routes');
}
